package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.ACheck;
import com.ruoyi.system.service.IACheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 打卡Controller
 *
 * @author ruoyi
 * @date 2024-05-30
 */
@RestController
@RequestMapping("/xcx/aCheck")
public class XcxACheck extends BaseController {

    @Autowired
    private IACheckService aCheckService;

    /**
     * 查询打卡类别列表
     */
    @GetMapping("/xcxList")
    public AjaxResult xcxList(ACheck aCheck)
    {
        return success(aCheckService.selectACheckXcxList(aCheck));
    }
}
